<template>
  <div>
    <h2>个人中心</h2>
    <el-button @click="look">查看合同</el-button>
    <Pdf ref="mypdf"></Pdf>
  </div>
</template>

<script>
import Pdf from "./Pdf.vue";
export default {
  data() {
    return {};
  },
  components: {
    Pdf,
  },
  methods: {
    look() {
      this.$refs.mypdf.dialogVisible = true;
    },
  },
};
</script>

<style>
</style>